welo git mirrors
Commit a86d04c0783888a10f672bb86d3f2d1e18fed061
Parents : 556a310
Author : welo | main nixos computer <empty@empty.com>
Date : 2026-07-15T21:49:03+01:00
changed info print of the server address to be a one liner
Changes
Diff
diff --git a/src/client.rs b/src/client.rs
index 18d0986..4e83197 100644
--- a/src/client.rs
+++ b/src/client.rs
@@ -388,7 +388,7 @@ pub async fn connect_tcp_server_side(
mux.send(FrameType::Connect, sid, connect_payload).await;
// Wait for CONN_OK or CONN_ERR with timeout
- tokio::time::timeout(Duration::from_secs(15), async {
+ tokio::time::timeout(Duration::from_secs(60), async {
while let Some(frame) = session_rx.recv().await {
match frame.frame_type {
FrameType::ConnectOk => return Ok(()),
@@ -481,7 +481,7 @@ pub async fn udp_bind_connect(
mux.send(FrameType::Connect, sid, connect_payload).await;
// Wait for CONN_OK or CONN_ERR with timeout
- tokio::time::timeout(Duration::from_secs(15), async {
+ tokio::time::timeout(Duration::from_secs(60), async {
while let Some(frame) = session_rx.recv().await {
match frame.frame_type {
FrameType::ConnectOk => return Ok(()),
diff --git a/src/server.rs b/src/server.rs
index 0005197..1dfda40 100644
--- a/src/server.rs
+++ b/src/server.rs
@@ -81,8 +81,7 @@ pub async fn run_server(identity_path: Option<&str>, filter_config: FilterConfig
let sig_prv: [u8; 32] = prv_key[32..64].try_into().unwrap();
let sig_pub: [u8; 32] = pub_key[32..64].try_into().unwrap();
- info!("Server address (stable across restarts):");
- info!(" {}", hex::encode(dest_hash));
+ info!("Server address (stable across restarts): {}", hex::encode(dest_hash) );
let (node, mut rx) = match create_node() {
Ok(v) => v,
Served by rngit 1.4.2 - Generated in 0.02s